package com.cloudbroker.bcs.platform.ltb.middle.service;

import com.cloudbroker.bcs.common.service.base.ServiceBase;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.vo.BlackKeyWordForm;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.vo.BlackUserForm;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.admin.vo.CommentQueryForm;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.comment.vo.CommentSearchForm;
import com.cloudbroker.bcs.platform.ltb.bizapi.service.comment.vo.CommentTargetForm;
import com.cloudbroker.bcs.platform.ltb.middle.entity.BlackUser;
import com.cloudbroker.bcs.platform.ltb.middle.entity.BlackWord;
import com.cloudbroker.bcs.platform.ltb.middle.entity.CommentMsg;
import com.cloudbroker.bcs.platform.ltb.middle.entity.CommentUser;

import java.util.List;

/**
 * Created by zhaosh19213 on 2016/7/17.
 */
public interface CommentService extends ServiceBase<CommentMsg, String> {

    public int getMaxTopNum();

    public int topComment(CommentMsg commentMsg);

    public int updateComment(CommentMsg commentMsg);

    public List<CommentUser> queryComments(CommentQueryForm commentQueryForm);

    public List<CommentUser> queryCommentsByTarget(CommentTargetForm targetForm);

    public List<CommentUser> queryCommentsByIds(List<Long> ids);

    public List<CommentUser> searchComments(CommentSearchForm commentSearchForm);

    public void cancelTopByTargetId(CommentMsg commentMsg);

    public int countByTargetId(CommentTargetForm targetForm);

}
